package com.homedo.odin.solution.contract.mng.request.comment;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author ：ZhangLei
 * @Date ：2018/4/10
 */
@ApiModel(description = "回复评论")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class ReplyUserCommentRequestBean {

    @ApiModelProperty(value = "评论内容", required = true)
    @NotNull(message = "评论内容不能为空")
    @NotEmpty(message = "评论内容不能为空")
    private String replyContent;

    @ApiModelProperty(value = "评论人类型,1:作者，2：河小马", required = true)
    @NotNull(message = "评论人类型不能为空")
    @Min(message = "评论人类型非法", value = 0)
    private Integer replyPerson;


}
